# $Id: PKGBUILD 64982 2012-02-19 11:17:06Z jelle $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>

pkgname=pyogg
pkgver=1.3
pkgrel=7
pkgdesc="Python ogg wrapper library"
arch=('i686' 'x86_64')
url="http://ekyo.nerim.net/software/pyogg/index.html"
license=('LGPL2')
depends=('python2' 'libogg' 'glibc')
source=(http://ekyo.nerim.net/software/pyogg/$pkgname-$pkgver.tar.gz)
md5sums=('45a4ecc4d0600661199e4040a81ea3fe')
sha1sums=('2811ad401e3b5fc5025958bddab3d7b8775e5acd')

build() {
  cd $srcdir/$pkgname-$pkgver
  python2 ./config_unix.py --prefix=$pkgdir/usr
}

package() {
  cd $srcdir/$pkgname-$pkgver
  python2 setup.py install --prefix=$pkgdir/usr
}
